extern int ftnandc024_issue_cmd(struct mtd_info *, struct cmd_feature *);

extern void ftnandc024_set_default_timing(struct mtd_info *);

extern int ftnandc024_nand_wait(struct mtd_info *, struct nand_chip *);

extern void ftnandc024_fill_prog_code(struct mtd_info *, int, int);

extern void ftnandc024_fill_prog_flow(struct mtd_info *, int *, int);

extern int ftnandc024_nand_read_page(struct mtd_info *, struct nand_chip *,
			uint8_t *, int);

extern void ftnandc024_nand_write_page_lowlevel(struct mtd_info *, 
			struct nand_chip *, const uint8_t *);

extern int ftnandc024_nand_read_oob_std(struct mtd_info *, 
			struct nand_chip *,int ,int);

extern int ftnandc024_nand_write_oob_std(struct mtd_info *,
			struct nand_chip *, int);

extern int ftnandc024_nand_read_page_lp(struct mtd_info *, u_char *);

extern int ftnandc024_nand_write_page_lp(struct mtd_info *, 
			const uint8_t *);

extern int ftnandc024_nand_read_oob_lp(struct mtd_info *, u_char *);

extern int ftnandc024_nand_write_oob_lp(struct mtd_info *, const u_char *,
			int);

extern int ftnandc024_nand_read_page_sp(struct mtd_info *, u_char *);

extern int ftnandc024_nand_write_page_sp(struct mtd_info *, 
			const uint8_t *);

extern int ftnandc024_nand_read_oob_sp(struct mtd_info *, u_char *);

extern int ftnandc024_nand_write_oob_sp(struct mtd_info *, const u_char *, 
			int);

extern int ftnandc024_nand_write_page(struct mtd_info *, 
			struct nand_chip *, const uint8_t *, int , int, int);
